{include file="pub_header.htm"}

{include file="pub_search.htm"}

<div class="layout_place">
  <div class="place_current">
    <ul>
      <li><a href="{$lang.s._public.global.weburl}" target="_self">{$lang.s._public.global.website}</a></li>
      <li><span>&#187;<span></li>
      <li><a href="{$control_index}?act=login" target="_self">找回密码</a></li>
    </ul>
  </div>
</div>

<div class="layout_content">
  <div class="content_one_all">
    {if $get.ope == "reset"}
    <div class="box_one_register">
      <div class="title">
        <h2>找回密码 - 设定新密码</h2>
        <span></span>
      </div>
      <div class="content">
        <form id="forgetpass_reset" name="forgetpass_reset" method="post" action="javascript:void(null);">
        <ul>
          <li><span id="prompt_message" name="prompt_message"></span></li>
          <li>
            <span class="subject">会员名称:</span>
            <span class="fill"><input type="text" id="username" name="username" size="32" style="width:180px;" maxlength="30" class="input"></span>
          </li>
          <li>
            <span class="subject">新密码:</span>
            <span class="fill"><input type="password" id="password1" name="password1" size="32" style="width:180px;" maxlength="255" class="input"></span>
          </li>
          <li>
            <span class="subject">确认密码:</span>
            <span class="fill"><input type="password" id="password2" name="password2" size="32" style="width:180px;" maxlength="255" class="input"></span>
          </li>
          <li>
            <span class="subject">&nbsp;</span>
            <span class="fill">
              <input type="button" id="forgetpass_submit" name="forgetpass_submit" value="重设密码" class="button"
                  onclick="xajax.$('forgetpass_submit').disabled=true;
                  xajax.$('forgetpass_submit').value='请等待...';
                  xajax_forgetpass_reset(xajax.getFormValues('forgetpass_reset'));" />
            </span>
            <span class="explain">&nbsp;</span>
          </li>
        </ul>
        </form>
      </div>
      <div class="footer"><span></span></div>
    </div>
    {else}
    <div class="box_one_register">
      <div class="title">
        <h2>找回密码</h2>
        <span></span>
      </div>
      <div class="content">
        <form id="forgetpass_send" name="forgetpass_send" method="post" action="javascript:void(null);">
        <ul>
          <li><span id="prompt_message" name="prompt_message"></span></li>
          <li>
            <span class="subject">会员名称:</span>
            <span class="fill"><input type="text" id="username" name="username" size="32" style="width:180px;" maxlength="30" class="input"></span>
          </li>
          <li>
            <span class="subject">信箱:</span>
            <span class="fill"><input type="text" id="email" name="email" size="32" style="width:180px;" maxlength="255" class="input"></span>
          </li>
          <li>
            <span class="subject">验证码:</span>
            <span class="fill"><input type="text" id="verifycode" name="verifycode" size="6" class="input" />&nbsp;<span style="cursor:pointer;" onclick="xajax_switch_verifycode('vc_forgetpass_show','{$control_index}','vc_forgetpass');"><span id="vc_forgetpass_show"><img src="{$control_index}?act=verifycode&vc=vc_forgetpass" border="0" align="absmiddle"></span></span></span>
          </li>
          <li>
            <span class="subject">&nbsp;</span>
            <span class="fill">
              <input type="button" id="forgetpass_submit" name="forgetpass_submit" value="找回密码" class="button"
                  onclick="xajax.$('forgetpass_submit').disabled=true;
                  xajax.$('forgetpass_submit').value='请等待...';
                  xajax_forgetpass_send(xajax.getFormValues('forgetpass_send'));" />
            </span>
            <span class="explain">&nbsp;</span>
          </li>
        </ul>
        </form>
      </div>
      <div class="footer"><span></span></div>
    </div>
    {/if}
  </div>
</div>

{include file="pub_footer.htm"}
